// Created by wangliang on 2025/6/27.
import 'package:live_flutter_plugin/v2_tx_live_def.dart';

class LiveAudioSettings {
  /// 音乐播放文件
  late AudioMusicParam musicParam;

  /// 远端音量大小
  int publishVolume = 100;

  /// 本地音量大小
  int localVolume = 100;

  /// 全局背景音乐的本地和远端音量的大小
  int allMusicVolume = 100;

  /// 音调高低
  double musicPitch = 0;

  /// 变速
  double speedRate = 1.0;

  /// 是否正在播放中
  bool isPlaying = false;

  LiveAudioSettings() {
    musicParam = AudioMusicParam(path: "http://dldir1.qq.com/hudongzhibo/LiteAV/demomusic/testmusic1.mp3", id: 1);
    musicParam.loopCount = 0;
    musicParam.publish = true;
  }
}
